import request from "utils/request";
import { deepClone } from "utils";
import {StringData} from "utils";

//定义接口地址
const URL = {
  "findUnique": `/occ-cmpt/cmpt/bill-flow-configs/find-unique`, //参照-查询列表
  getStatus: "/occ-cmpt/sys/get-status-by-code",
  getPrintTmpl: "/occ-cmpt/cmpt/printTmplDistri/get-printTmpl-by-menu",
  getTenantId: "/occ-cmpt/cmpt/print/get-tenantId",
};

export const onGetHtml = (param) => {
  return request(URL.getHtml, {
      method: "get",
      param: param
  });
}

export const getStatus = (param) => {
  return request(URL.getStatus, {
      method: "get",
      param: param
  });
}

export const getPrintTmpl = (param) => {
  return request(URL.getPrintTmpl, {
      method: "get",
      param: param
  });
}

export const getTenantId = (param) => {
  return request(URL.getTenantId, {
      method: "get",
      param: param
  });
}